]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Fix setting ImageMenuItem's icons via strings
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 15 Oct 2017 22:09:52 +0000 (00:09 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 16 Oct 2017 18:47:05 +0000 (20:47 +0200)
commitc12da66da8b82f762c47109735391488ca2cfee9
treeca6b12ae436f26803aa24152a3caa4f75f60bf2f
parent01d88119132f277196fa39c05b733dd1b4c5e951
popupMenu: Fix setting ImageMenuItem's icons via strings

Commit 28ca96064bcb added support for setting PopupImageMenuItem's icons
via GIcons as well as via strings. However as the check whether an object
implements the GIcon interface only works on GObjects, specifying an icon
name was broken. Fix that to actually allow both strings and GIcons.

https://bugzilla.gnome.org/show_bug.cgi?id=789018
js/ui/popupMenu.js